package com.irdstudio.efp.cus.service.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.irdstudio.efp.cus.service.domain.CusRelCheck;
import com.irdstudio.efp.cus.service.vo.CusRelCheckVO;

public interface CusRelCheckDao {
	
	/*public List<CusRelCheck> queryAllOwnerByPage(CusRelCheck cusRelCheck);
	
	public List<CusRelCheck> queryAllCurrOrgByPage(CusRelCheck cusRelCheck);
	
	public List<CusRelCheck> queryAllCurrDownOrgByPage(CusRelCheck cusRelCheck);*/
	
	public List<CusRelCheck> queryCusRelCheckList(CusRelCheck cusRelCheck);
	
	public int insertCusRelCheck(CusRelCheck cusRelCheck);
	
	public int insertCusRelCheckBatch(List<CusRelCheck> list);
	
	public CusRelCheck queryCusRelCheckBycertCode(@Param("certCode") String certCode
			, @Param("certType") String certType);

	public List<CusRelCheck> queryConditions(@Param("certCode") String certCode, @Param("certType") String certType);
	
	public int updateCusRelCheck(CusRelCheck cusRelCheck);

	public int deleteByPk(CusRelCheck cusrelcheck);

	public List<CusRelCheck> queryAllOwnerByPage(CusRelCheckVO cusRelCheckVO);

	public CusRelCheck queryByPk(CusRelCheck cusRelCheck);
	
	public List<CusRelCheck> queryCusRelCheckByPage(CusRelCheck cusRelCheck);

	public int updateCusRelCheckBatch(List<CusRelCheck> cusRelCheckList);

	public int batchDeleteByPk(@Param("relSernoList") List<String> relSernoList);

	public List<CusRelCheck> queryExCusRelCheckPageInfo(CusRelCheck cusRelCheck);

	public int batchInsertRelCheck(@Param("inserCusRelCkstBatch") List<CusRelCheckVO> inserCusRelCkstBatch);

}
